package com.java.miaosha.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.java.miaosha.entity.UserEntity;
import com.java.miaosha.util.Result;
import com.java.miaosha.vo.LoginVO;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.validation.Valid;

/**
 * 用户表
 *
 * @author jiangli
 * @email 31346337@qq.com
 * @date 2019-08-30 21:15:08
 */
public interface UserService extends IService<UserEntity> {

	Result login(LoginVO loginVO, HttpServletRequest request, HttpServletResponse response);

	UserEntity getUserByToken(String token);
}

